package com.net.xpay.common.manager.partner;

import com.net.xpay.common.domain.partner.PartnerWithdrawRecord;
import com.net.xpay.common.model.search.PartnerWithdrawRecordSearchModel;
import com.net.common.manager.VersionedManager;

import java.time.LocalDateTime;
import java.util.List;


public interface PartnerWithdrawRecordManager extends VersionedManager<Long, PartnerWithdrawRecord> {


    List<PartnerWithdrawRecord> search(PartnerWithdrawRecordSearchModel searchModel);

    long searchCount(PartnerWithdrawRecordSearchModel searchModel);

    List<PartnerWithdrawRecord> listByIds(List<Long> ids);

    long statTransferMoney(LocalDateTime minEndTime, LocalDateTime maxEndTime);
    /**
     *按月份统计提现金额
     */
    long sumPartnerWithdrawRecordStat(PartnerWithdrawRecordSearchModel searchModel);


    List<PartnerWithdrawRecord> list(PartnerWithdrawRecordSearchModel searchModel);
}
